package com.android.support.lib.universal.base;

import java.io.Serializable;

@SuppressWarnings("serial")
public class BaseEntity implements Serializable{
	
	protected String id;
	
	public void setId(String id) {
		this.id = id;
	}
	
	public String getId() {
		return this.id;
	}
	/**
	 * 将id转化为Integer类型，返回Integer类型的ID
	 * @return
	 */
	public Integer toInteger(){
		return Integer.valueOf(id);
	}
}
